package com.xyzwps.mvckotlin.dao.mapper;

import com.xyzwps.mvckotlin.dao.model.UserInfo;
import org.apache.ibatis.annotations.Mapper;

@Mapper
interface IUserInfoMapper {

    fun create(userInfo: UserInfo)

    fun getByUserId(userId: Long): UserInfo

    fun getByUsername(username: String): UserInfo?
}
